package com.gree.changying.activity.mainactivity.framgent.homefrm.tuijian.adapter;

import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.gree.changying.R;
import com.gree.changying.activity.mainactivity.framgent.homefrm.tuijian.bean.Rmss;

import java.util.List;

public class RmssAdapter extends BaseQuickAdapter<Rmss, BaseViewHolder> {
    public RmssAdapter(@LayoutRes int layoutResId, @Nullable List data) {
        super(layoutResId, data);
    }
    @Override
    protected void convert(BaseViewHolder helper, Rmss item) {
        helper.setText(R.id.tag,item.getTag());
        helper.setText(R.id.time,item.getTime());
        helper.setText(R.id.name1,item.getName1());
        helper.setText(R.id.name2,item.getName2());
        helper.setText(R.id.fanan,item.getFanan()+"个方案");
    }
}